﻿
using Prism.Commands;
using Prism.Mvvm;

namespace HlELock.Core.ViewModels
{
    public class SettingControlViewModel : BindableBase
    {
        private bool[] _sectors = new bool[17];

        /// <summary>
        /// 设置扇区
        /// </summary>
        public bool[] Sectors
        {
            get { return _sectors; }
            set { SetProperty(ref _sectors, value); }
        }

        private DelegateCommand _saveCommand;
        public DelegateCommand SaveCommand =>
            _saveCommand ?? (_saveCommand = new DelegateCommand(ExecuteSaveCommand));

        void ExecuteSaveCommand()
        {


        }
    }
}
